package com.itheima.service;

import com.itheima.pojo.HmSubjects;
import com.itheima.util.PageResult;

import java.util.List;

public interface SubjectService {
    void updateById(Integer id, HmSubjects hmSubjects);

    void del(Integer id);

    void add(HmSubjects hmSubjects);

    List simple(String subjectName);

    HmSubjects getById(Integer id);

    PageResult list(Integer page, Integer pagesize, String subjectName);
}
